#include <cstdio>

bool f[ 10 ][ 9 ][ 9 ];

int main( )
{
    int i, j, k, l, t;
    int r1, r2, r3, r4, k1, k2, k3, k4;
    for ( i = 1; i <= 9; i++ )
        for ( j = 0; j < 9; j++ )
            for ( k = 0; k < 9; k++ )
            {
                f[ i ][ j ][ k ] |= f[ i - 1 ][ j ][ k ] ^ 1;
                for ( l = 0; l < j; l++ )
                    f[ i ][ j ][ k ] |= f[ i ][ l ][ k ] ^ 1;
                for ( l = 0; l < k; l++ )
                    f[ i ][ j ][ k ] |= f[ i ][ j ][ l ] ^ 1;
            }
    while ( scanf("%d", &t) != EOF )
    {
        scanf("%d%d%d%d", &r1, &r2, &r3, &r4);
        scanf("%d%d%d%d", &k1, &k2, &k3, &k4);
        if ( f[ k1 - r1 ][ k2 - r2 - 1 ][ k3 - r3 - 1 ] )
            if ( !t )
                puts("Red");
            else
                puts("Black");
        else
            if ( !t )
                puts("Black");
            else
                puts("Red");
    }
    return 0;
}
